package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品sku管理对象 good_sku
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
public class GoodSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** sku主键 */
    private Long skuId;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 尺码 */
    @Excel(name = "尺码")
    private String size;

    /** 库存 */
    @Excel(name = "库存")
    private Long quantity;

    /** 商户-商品关联id */
    @Excel(name = "商户-商品关联id")
    private Long shopGoodsId;

    /** sku图片 */
    @Excel(name = "sku图片")
    private String image;

    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setShopGoodsId(Long shopGoodsId) 
    {
        this.shopGoodsId = shopGoodsId;
    }

    public Long getShopGoodsId() 
    {
        return shopGoodsId;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("skuId", getSkuId())
            .append("color", getColor())
            .append("size", getSize())
            .append("quantity", getQuantity())
            .append("shopGoodsId", getShopGoodsId())
            .append("image", getImage())
            .toString();
    }
}
